﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dnf.Tools.Sugar
{
    public static class DateHelpers
    {
        public static DateTime SetTime(DateTime date, TimeSpan timeSpan )
        {
            return new DateTime(date.Year,date.Month,date.Day,timeSpan.Hours,timeSpan.Minutes,timeSpan.Seconds,timeSpan.Milliseconds);
        }
    }
}
